﻿using chihuopig.DTO;
using chihuopig.Model;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace chihuopig.IService
{
    public interface IArticleService: IBaseService<Article>
    {
        /// <summary>
        /// 分页
        /// </summary>
        /// <param name="pageIndex"></param>
        /// <param name="PageSize"></param>
        /// <param name="Totalout"></param>
        /// <returns></returns>
        Task<List<Article>> GetPage(int pageIndex, int PageSize);

        Task<ArticleWriterDTO> GetArticle(long ArticleId);

    }
}
